package com.zys.exercise;

public class text2 {
    public static void main(String[] args) {
        MyThread2 m = new MyThread2();
        Thread t1 = new Thread(m);
        Thread t2 = new Thread(m);
        t1.setName("1");
        t2.setName("2");
        t2.start();
        t1.start();

    }
}
